<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <title>修改用户</title>
  <link rel="stylesheet" href="{{url_for('static',path='style.css')}}">
</head>

<body>
  <h1>修改用户</h1>
  <form action="/update_user" method="post">
    <table>
      <tr>
        <th>用户ID</th>
        <td><input type="text" value="{{userid}}" name="userid" readonly required></td>
      </tr>
      <tr>
        <th>用户名</th>
        <td><input type="text" name="username" value="{{ username }}" required></td>
      </tr>
      <tr>
        <th>邮箱</th>
        <td><input type="email" name="email" value="{{email}}" required></td>
      </tr>
      <tr>
        <th>电话</th>
        <td><input type="tel" name="phone" value="{{phone}}" required></td>
      </tr>
    </table>
    <button type="submit" class="update">更新</button>
  </form>
</body>

</html>